how to write mathematical tables